package net.mikoo.seals.biz.service;

import java.util.List;

import net.mikoo.seals.common.model.PageModel;
import net.mikoo.seals.model.Workflow;
import net.mikoo.seals.model.WorkflowQuery;
import net.mikoo.seals.model.WorkflowSetting;

public interface WorkflowService {

	PageModel<Workflow> getPageByQuery(WorkflowQuery query);

	Workflow getInfoById(Long workflowId);

	void create(Workflow workflow);

	void modify(Workflow workflow);

	List<Workflow> getListByQuery(WorkflowQuery query);

	void publish(Workflow workflow);

	List<WorkflowSetting> getSettingsByWorkflowId(Long workflowId);
	


}
